home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000223_neal@ctd.comsat.com_Wed Feb 2 11:05:00 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from neal.ctd.comsat.com by cs.umb.edu with SMTP id AA14983
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 2 Feb 1994 16:05:51 -0500
  3. Received: by neal.ctd.comsat.com (Smail3.1.28.1 #29)
  4.     id m0pRoli-0002fOC; Wed, 2 Feb 94 16:05 EST
  5. Message-Id: <m0pRoli-0002fOC@neal.ctd.comsat.com>
  6. Date: Wed, 2 Feb 94 16:05 EST
  7. From: neal@ctd.comsat.com (Neal Becker)
  8. To: tex-k@cs.umb.edu
  9. Subject: Device dependent font paths
  10.  
  11. I think it is very important to support device-dependent font paths.
  12. Just because a font is at 300dpi does NOT mean it was built for a
  13. CanonCX engine.
  14.  
  15. So I have installed the latest Web2c-6.0 stuff.  I have:
  16.  
  17. /usr/local/lib/texmf/fonts/CanonCX
  18. /usr/local/lib/texmf/fonts/laserjetIV
  19. etc.
  20.  
  21. The key to make this all work together is 
  22. 1) The application (xdvi, divps, etc) knows where its fonts should be
  23. found.  It should tell this to MakeTeXPK.  Unfortunately, the
  24. standard MakeTeXPK doesn't provide for this.  Pity.
  25.  
  26. I recommend that MakeTeXPK be modified to allow an optional sixth
  27. argument.  This is complete path to the font file.  Surely xdvi,
  28. dvips, etc knows where it was looking for the font.  It should tell
  29. this to MakeTeXPK.
  30.  
  31. In lieu of this, here is a modification to MakeTeXPK:
  32.  
  33. ---------------------
  34. NAME=$1
  35. DPI=$2
  36. BDPI=$3
  37. MAG=$4
  38. MODE=$5
  39.  
  40. + DESTDIR=/usr/local/lib/texmf/fonts/${MODE}
  41.  
  42. (this is not really a patch)
  43. -----------------------
  44.  
  45. this allows the MF mode to specify the directory, which is what I am
  46. recommending.  If anyone knows a more universal way to achieve this
  47. please let me know.
  48.  
  49. Now dvipsk can work fine with this plan.  Since you can specify the
  50. font path in the printer config file.
  51.  
  52. But I just installed xdvik, and I don't know how to fix this one.
  53. Where do I tell it the MODE, so it can pass this to MakeTeXPK?
  54.  
  55. I am not yet on this list, so please reply to
  56.  
  57. neal@ctd.comsat.com